package ccpv;

/*
 * This is basically an ArrayList with a string tag attached.
 */

import java.util.ArrayList;
import java.util.Collection;

public class TaggedList<T> extends ArrayList {

	public String tag;
	
	public TaggedList(String tag)
	{
		super();
		this.tag = tag;
	}
	
	public TaggedList(Collection c, String tag)
	{
		super(c);
		this.tag = tag;
	}
	
	public TaggedList(int initialCapacity, String tag)
	{
		super(initialCapacity);
		this.tag = tag;
	}
	
	public String getTag()
	{
		return tag;
	}
	
	public void setTag(String tag)
	{
		this.tag = tag;
	}
}
